package com.qiaofang.applet.service.member.service.dto;

import com.qiaofang.applet.common.base.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
@ApiModel("会员浏览DTO")
public class MemberExploreAddDto extends BaseDto {

    @ApiModelProperty("父级ID")
    private String parentId;

    @ApiModelProperty("会员ID")
    @NotNull(message = "会员ID不能为空")
    private String memberId;

    @ApiModelProperty("会员名称")
    private String memberName;

    @ApiModelProperty("业务UUID：房源UUID或者员工UUID")
    @NotNull(message = "业务UUID不能为空")
    private String businessUuid;

    @ApiModelProperty("业务类型: 1 新房 2 二手房 3 租房 4 经纪人")
    @NotNull(message = "业务类型不能为空")
    private Integer businessType;

    @ApiModelProperty("所属经纪人")
    @NotNull(message = "所属经纪人不能为空")
    private String employeeUniqueUuid;

    @ApiModelProperty("城市编码")
    //@NotNull(message = "城市编码不能为空")
    private String cityCode;

    @ApiModelProperty("所在地")
    private String cityName;

    @ApiModelProperty("小区")
    private String estateName;

    @ApiModelProperty("户型")
    private String houseType;

    @ApiModelProperty("价格")
    private String price;

    @ApiModelProperty("房源编号")
    private String propertyNo;

    @ApiModelProperty("房源主图")
    private String mainImageUrl;

    @ApiModelProperty("面积")
    private String square;
}
